package com.ruike.service;

import com.ruike.pojo.Teacher;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 吴泽胜
 * @FileName TeacherService
 * @date 2020-11-18 6:42 下午
 * @Software: IntelliJ IDEA
 */
public interface TeacherService {

    // 添加老师
    public void addTeacher(Teacher teacher);

    // 老师登陆
    public Teacher findTeacherByteacherIdAndPassword(Teacher teacher);

    // 通过id删除老师
    public Teacher deleteTeacherByteacherId(Integer id);

    // 通过id修改老师
    public void updataTeacher(Integer id);

    // 通过id查询老师
    public Teacher findTeacherByteacherId(String teacher_id);

    // 通过老师姓名查询老师
    public Teacher findTeacherByNickName(String NickName);

    // 通过老师姓名模糊查询老师
    public List<Teacher> findTeacherListByNickName(String NickName);
}
